package com.ruoyi.resource.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资讯对象 res_infomation
 * 
 * @author ruoyi
 * @date 2021-12-20
 */
public class ResInfomation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    private String introduce;

    /** 内容 */
    private String content;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date starttime;

    /** 浏览量 */
    private Long viewnum;


    /** 分享量 */
    private Long sharenum;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 封面 */
    private String cover;

    /** 类型 */
    @Excel(name = "类型")
    private String classify;

    /** 标签 */
    private String label;

    /** 用户Id */
    private Long userid;

    /** 收藏Id */
    private Long collectid;

    /** 收藏数量 */
    private Long collectnum;

    public Long getCollectUserid() {
        return collectUserid;
    }

    public void setCollectUserid(Long collectUserid) {
        this.collectUserid = collectUserid;
    }

    /** 当前用户Id，查询收藏 */
    private Long collectUserid;

    public Long getCollectnum() {
        return collectnum;
    }

    public void setCollectnum(Long collectnum) {
        this.collectnum = collectnum;
    }

    public Long getCollectid() {
        return collectid;
    }

    public void setCollectid(Long collectid) {
        this.collectid = collectid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStarttime(Date starttime) 
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }

    public void setViewnum(Long viewnum) 
    {
        this.viewnum = viewnum;
    }

    public Long getViewnum() 
    {
        return viewnum;
    }

    public void setSharenum(Long sharenum) 
    {
        this.sharenum = sharenum;
    }

    public Long getSharenum() 
    {
        return sharenum;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setClassify(String classify) 
    {
        this.classify = classify;
    }

    public String getClassify() 
    {
        return classify;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }

}
